package com.i2works.smartluolong.web.dal.user.dao;

import com.i2works.smartluolong.utils.basecommon.BaseCommonDAO;
import com.i2works.smartluolong.utils.exception.DAOException;
import com.i2works.smartluolong.web.entity.user.UserAccountExtendDO;
import com.i2works.smartluolong.web.entity.user.UserAccountExtendQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户扩展
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/1/23 15:05
 */
@Repository("userAccountExtendDAO")
public interface IUserAccountExtendDAO extends BaseCommonDAO<UserAccountExtendQuery,UserAccountExtendDO> {
	
	 /**
     * 查询页面用户列表
     */
    List<UserAccountExtendDO> queryPageList(UserAccountExtendQuery query) throws DAOException;


    /**
     * 查询页面用户列表统计
     */
    Integer queryPageCount(UserAccountExtendQuery query) throws DAOException;

    /**
     * 通过用户ID更新
     */
    void updateByUserId(UserAccountExtendDO userAccountExtendDO) throws DAOException;
}
